<template>
  <div>
    
     <card :header="{title:'故事广场'}" :footer="{title:'吐槽',link:'/TuCao'}">
      <img slot="header" src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1508512154325&di=8f6f756f8b720d758c078bd779a1d5ef&imgtype=0&src=http%3A%2F%2Fwww.weshare.hk%2Fuploads%2F12371%2FqJF2DUCXnZO_mmDYzvp.nQ.jpg" style="width:100%;display:block;">
      <p slot="content" class="card-padding">女生饭堂的鸡扒饭真的好难吃...</p>
    </card>
     
     <card :footer="{title:'吐槽',link:'/TuCao'}">
      <p slot="content" class="card-padding">为什么饭堂没有外卖配送，真是苦了我们这些修仙党了...</p>
    </card>
  </div>
</template>

<script>
import { Divider, Card } from 'vux'
export default {
  components: {
    Card,
    Divider
  }
}
</script>

<style scoped lang="less">
@import '~vux/src/styles/1px.less';
.card-demo-flex {
  display: flex;
}
.card-demo-content01 {
  padding: 10px 0;
}
.card-padding {
  padding: 15px;
}
.card-demo-flex > div {
  flex: 1;
  text-align: center;
  font-size: 12px;
}
.card-demo-flex span {
  color: #f74c31;
}
</style>
© 2017 GitHub, Inc.